package cn.sdormitory.report.dao;

import cn.sdormitory.report.vo.DormitoryStatisticsVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @创建人：zhouyang
 * @创建时间：2021/12/6 22:09
 * @version：V1.0
 */
@Mapper
public interface DormitoryStatisticsDao extends BaseMapper<DormitoryStatisticsVo> {
    List<DormitoryStatisticsVo> getDorStaList(@Param("buildingNo") String buildingNo,@Param("storey") String storey,@Param("dormitoryNo") String dormitoryNo,@Param("currIndex") int currIndex, @Param("pageSize") int pageSize);
    Long getDorStaListCount(@Param("buildingNo") String buildingNo,@Param("storey") String storey,@Param("dormitoryNo") String dormitoryNo);

}
